Skip to main content

image

Type

object

Summary

A control that contains a bitmapped picture.

Syntax

image

Description

Use the image object type to hold photographs, icons, and decorative elements, and to allow the user to paint.

Each image contains a bitmapped picture, which can either be imported with the import command or created using the paint tool|paint tools. An image can display either its own data, or a file specified by the image's filename property.

An image is contained in a card, group, or background. Images cannot contain other objects.

note

Animated GIFs cannot be resized in LiveCode.

Examples

hide image "Blinking Star"
export image ID 9234 to file "Test Image.jpg"

glossary: property, paint tool, bitmap, command, object type

keyword: templateImage, file, image, control

object: image, graphic

property: filename, imageData, resizeQuality

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?